home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / QuickTime / QuickTime 3 Interfaces & Libs / QTDevWin / CIncludes / AVComponents.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-21  |  19.0 KB  |  508 lines  |  [TEXT/dosa]

  1. /*
  2.      File:        AVComponents.h
  3.  
  4.      Contains:    Standard includes for standard AV panels
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    QuickTime 3.0
  8.  
  9.      Copyright:    © 1989-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18. #ifndef __AVCOMPONENTS__
  19. #define __AVCOMPONENTS__
  20.  
  21. #ifndef __DIALOGS__
  22. #include <Dialogs.h>
  23. #endif
  24. #ifndef __VIDEO__
  25. #include <Video.h>
  26. #endif
  27. #ifndef __DISPLAYS__
  28. #include <Displays.h>
  29. #endif
  30. #ifndef __COMPONENTS__
  31. #include <Components.h>
  32. #endif
  33.  
  34.  
  35.  
  36. #if PRAGMA_ONCE
  37. #pragma once
  38. #endif
  39.  
  40. #ifdef __cplusplus
  41. extern "C" {
  42. #endif
  43.  
  44. #if PRAGMA_IMPORT
  45. #pragma import on
  46. #endif
  47.  
  48. #if PRAGMA_STRUCT_ALIGN
  49.     #pragma options align=mac68k
  50. #elif PRAGMA_STRUCT_PACKPUSH
  51.     #pragma pack(push, 2)
  52. #elif PRAGMA_STRUCT_PACK
  53.     #pragma pack(2)
  54. #endif
  55.  
  56. /*
  57.     The subtypes listed here are for example only.  The display manager will find _all_ panels
  58.       with the appropriate types.  These panels return class information that is used to devide them
  59.       up into groups to be displayed in the AV Windows (class means "geometry" or "color" or other groupings
  60.       like that.
  61. */
  62.  
  63. enum {
  64.     kAVPanelType                = FOUR_CHAR_CODE('avpc'),        /* Panel subtypes            */
  65.     kBrightnessPanelSubType        = FOUR_CHAR_CODE('brit'),
  66.     kContrastPanelSubType        = FOUR_CHAR_CODE('cont'),
  67.     kBitDepthPanelSubType        = FOUR_CHAR_CODE('bitd'),
  68.     kAVEngineType                = FOUR_CHAR_CODE('avec'),        /* Engine subtypes                */
  69.     kBrightnessEngineSubType    = FOUR_CHAR_CODE('brit'),
  70.     kContrastEngineSubType        = FOUR_CHAR_CODE('cont'),        /*        kBitDepthEngineSubType        = 'bitd',            // Not used                    */
  71.     kAVPortType                    = FOUR_CHAR_CODE('avdp')        /*subtypes are defined in each port's public .h file*/
  72. };
  73.  
  74. /* PortComponent subtypes are up to the port and display manager does not use the subtype
  75.     to find port components.  Instead, display manager uses an internal cache to search for portcompoennts.
  76.     It turns out to be useful to have a unique subtype so that engines can see if they should apply themselves to
  77.     a particular port component.
  78.   
  79.    PortKinds are the "class" of port.  When a port is registered with display manager (creating a display ID), the
  80.     caller of DMNewDisplayIDByPortComponent passes a portKind.  Ports of this type are returned by
  81.     DMNewDevicePortList.
  82.   
  83.    PortKinds are NOT subtypes of components
  84.    PortKinds ARE used to register and find port components with Display Manager.  Here are the basic port kinds:
  85.   
  86.    Video displays are distinct from video out because there are some video out ports that are not actaully displays.
  87.     if EZAV is looking to configure displays, it needs to look for kAVVideoDisplayPortKind not kAVVideoOutPortKind.
  88.  */
  89.  
  90. enum {
  91.     kAVVideoDisplayPortKind        = FOUR_CHAR_CODE('pkdo'),        /* Video Display (CRT or panel display)                */
  92.     kAVVideoOutPortKind            = FOUR_CHAR_CODE('pkvo'),        /* Video out port (camera output).                      */
  93.     kAVVideoInPortKind            = FOUR_CHAR_CODE('pkvi'),        /* Video in port (camera input)                        */
  94.     kAVSoundOutPortKind            = FOUR_CHAR_CODE('pkso'),        /* Sound out port (speaker or speaker jack)            */
  95.     kAVSoundInPortKind            = FOUR_CHAR_CODE('pksi'),        /* Sound in port (microphone or microphone jack)    */
  96.     kAVDeviceType                = FOUR_CHAR_CODE('avdc'),        /* Device Component subtypes are up to the manufacturor since each device may contain multiple function types (eg telecaster) */
  97.     kAVDisplayDeviceKind        = FOUR_CHAR_CODE('dkvo'),        /* Display device*/
  98.                                                                 /* Device Component subtypes are up to the manufacturor since each device may contain multiple function types (eg telecaster)*/
  99.     kAVCategoryType                = FOUR_CHAR_CODE('avcc'),
  100.     kAVSoundInSubType            = FOUR_CHAR_CODE('avao'),
  101.     kAVSoundOutSubType            = FOUR_CHAR_CODE('avai'),
  102.     kAVVideoInSubType            = FOUR_CHAR_CODE('vdin'),
  103.     kAVVideoOutSubType            = FOUR_CHAR_CODE('vdou'),
  104.     kAVInvalidType                = FOUR_CHAR_CODE('badt')        /* Some calls return a component type, in case of errors, these types are set to kAVInvalidComponentType */
  105. };
  106.  
  107.  
  108. /*
  109.    Constants for Panel Classes (used to build buttons in AVSetup) 
  110.    but is generic to all panels 
  111. */
  112.  
  113. enum {
  114.     kAVPanelClassDisplayDefault    = FOUR_CHAR_CODE('cdsp'),
  115.     kAVPanelClassColor            = FOUR_CHAR_CODE('cclr'),
  116.     kAVPanelClassGeometry        = FOUR_CHAR_CODE('cgeo'),
  117.     kAVPanelClassSound            = FOUR_CHAR_CODE('csnd'),
  118.     kAVPanelClassPreferences    = FOUR_CHAR_CODE('cprf')
  119. };
  120.  
  121. /* =============================                    */
  122. /* Component interface revision levels and history    */
  123. /* =============================                    */
  124.  
  125. enum {
  126.     kAVPanelComponentInterfaceRevOne = 1,
  127.     kAVEngineComponentInterfaceRevOne = 1,
  128.     kAVPortComponentInterfaceRevOne = 1,
  129.     kAVDeviceComponentInterfaceRevOne = 1
  130. };
  131.  
  132.  
  133.  
  134. enum {
  135.     kBaseAVComponentSelector    = 256,                            /* First apple-defined selector for AV components */
  136.     kAppleAVComponentSelector    = 512                            /* First apple-defined type-specific selector for AV components */
  137. };
  138.  
  139.  
  140. /* =============================                */
  141. /* Panel Standard component selectors            */
  142. /* =============================                */
  143.  
  144. enum {
  145.     kAVPanelFakeRegisterSelect    = kComponentRegisterSelect,        /* -5    */
  146.     kAVPanelSetCustomDataSelect    = 0,
  147.     kAVPanelGetDitlSelect        = 1,
  148.     kAVPanelGetTitleSelect        = 2,
  149.     kAVPanelInstallSelect        = 3,
  150.     kAVPanelEventSelect            = 4,
  151.     kAVPanelItemSelect            = 5,
  152.     kAVPanelRemoveSelect        = 6,
  153.     kAVPanelValidateInputSelect    = 7,
  154.     kAVPanelGetSettingsIdentifiersSelect = 8,
  155.     kAVPanelGetSettingsSelect    = 9,
  156.     kAVPanelSetSettingsSelect    = 10,
  157.     kAVPanelSelectorGetFidelitySelect = kBaseAVComponentSelector,
  158.     kAVPanelSelectorTargetDeviceSelect = 257,
  159.     kAVPanelSelectorGetPanelClassSelect = 258
  160. };
  161.  
  162.  
  163. /* =============================                */
  164. /* Engine Standard component selectors            */
  165. /* =============================                */
  166.  
  167. enum {
  168.     kAVEngineGetEngineFidelitySelect = kBaseAVComponentSelector,
  169.     kAVEngineTargetDeviceSelect    = 257
  170. };
  171.  
  172.  
  173. /* =============================                    */
  174. /* Video Port Specific calls                        */
  175. /* =============================                    */
  176.  
  177. enum {
  178.     kAVPortCheckTimingModeSelect = 0,
  179.     kAVPortReserved1Select        = 1,                            /* Reserved*/
  180.     kAVPortReserved2Select        = 2,                            /* Reserved*/
  181.     kAVPortGetDisplayTimingInfoSelect = kAppleAVComponentSelector
  182. };
  183.  
  184.  
  185. /* =============================                    */
  186. /* AV Port Specific calls                            */
  187. /* =============================                    */
  188.  
  189. enum {
  190.     kAVPortGetAVDeviceFidelitySelect = kBaseAVComponentSelector, /* Port Standard Component selectors */
  191.     kAVPortGetWiggleSelect        = 257,
  192.     kAVPortSetWiggleSelect        = 258,
  193.     kAVPortGetNameSelect        = 259,
  194.     kAVPortGetGraphicInfoSelect    = 260,
  195.     kAVPortSetActiveSelect        = 261,
  196.     kAVPortGetActiveSelect        = 262,
  197.     kAVPortUnsed1Select            = 263,                            /* Selector removed as part of API change.  We don't want to mess up the following selectors, so we put in this spacer (ie kPadSelector). */
  198.     kAVPortGetAVIDSelect        = 264,
  199.     kAVPortSetAVIDSelect        = 265,
  200.     kAVPortSetDeviceAVIDSelect    = 266,                            /* For registrar to set device (instead of hitting global directly) -- should only be called once */
  201.     kAVPortGetDeviceAVIDSelect    = 267,                            /* Called by display mgr for generic ports */
  202.     kAVPortGetPowerStateSelect    = 268,
  203.     kAVPortSetPowerStateSelect    = 269,
  204.     kAVPortGetMakeAndModelSelect = 270                            /* Get Make and model information*/
  205. };
  206.  
  207.  
  208.  
  209.  
  210. /* =============================                    */
  211. /* Device Component Standard Component selectors    */
  212. /* =============================                    */
  213.  
  214. enum {
  215.     kAVDeviceGetNameSelect        = kBaseAVComponentSelector,
  216.     kAVDeviceGetGraphicInfoSelect = 257,
  217.     kAVDeviceGetPowerStateSelect = 258,
  218.     kAVDeviceSetPowerStateSelect = 259,
  219.     kAVDeviceGetAVIDSelect        = 260,
  220.     kAVDeviceSetAVIDSelect        = 261
  221. };
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230. /* =============================                */
  231. /* Engine Standard component selectors            */
  232. /* =============================                */
  233. EXTERN_API( ComponentResult )
  234. AVEngineComponentGetFidelity    (ComponentInstance         engineComponent,
  235.                                  DisplayIDType             displayID,
  236.                                  DMFidelityType *        engineFidelity)                        FIVEWORDINLINE(0x2F3C, 0x0008, 0x0100, 0x7000, 0xA82A);
  237.  
  238. EXTERN_API( ComponentResult )
  239. AVEngineComponentTargetDevice    (ComponentInstance         engineComponent,
  240.                                  DisplayIDType             displayID)                            FIVEWORDINLINE(0x2F3C, 0x0004, 0x0101, 0x7000, 0xA82A);
  241.  
  242.  
  243. /* =============================                */
  244. /* Panel Standard Component calls                */
  245. /* =============================                */
  246. EXTERN_API( ComponentResult )
  247. AVPanelFakeRegister                (ComponentInstance         ci)                                    FIVEWORDINLINE(0x2F3C, 0x0000, 0xFFFB, 0x7000, 0xA82A);
  248.  
  249. EXTERN_API( ComponentResult )
  250. AVPanelSetCustomData            (ComponentInstance         ci,
  251.                                  long                     theCustomData)                        FIVEWORDINLINE(0x2F3C, 0x0004, 0x0000, 0x7000, 0xA82A);
  252.  
  253. EXTERN_API( ComponentResult )
  254. AVPanelGetDitl                    (ComponentInstance         ci,
  255.                                  Handle *                ditl)                                FIVEWORDINLINE(0x2F3C, 0x0004, 0x0001, 0x7000, 0xA82A);
  256.  
  257. EXTERN_API( ComponentResult )
  258. AVPanelGetTitle                    (ComponentInstance         ci,
  259.                                  StringPtr                 title)                                FIVEWORDINLINE(0x2F3C, 0x0004, 0x0002, 0x7000, 0xA82A);
  260.  
  261. EXTERN_API( ComponentResult )
  262. AVPanelInstall                    (ComponentInstance         ci,
  263.                                  DialogPtr                 dialog,
  264.                                  short                     itemOffset)                            FIVEWORDINLINE(0x2F3C, 0x0006, 0x0003, 0x7000, 0xA82A);
  265.  
  266. EXTERN_API( ComponentResult )
  267. AVPanelEvent                    (ComponentInstance         ci,
  268.                                  DialogPtr                 dialog,
  269.                                  short                     itemOffset,
  270.                                  EventRecord *            event,
  271.                                  short *                itemHit,
  272.                                  Boolean *                handled)                            FIVEWORDINLINE(0x2F3C, 0x0012, 0x0004, 0x7000, 0xA82A);
  273.  
  274. EXTERN_API( ComponentResult )
  275. AVPanelItem                        (ComponentInstance         ci,
  276.                                  DialogPtr                 dialog,
  277.                                  short                     itemOffset,
  278.                                  short                     itemNum)                            FIVEWORDINLINE(0x2F3C, 0x0008, 0x0005, 0x7000, 0xA82A);
  279.  
  280. EXTERN_API( ComponentResult )
  281. AVPanelRemove                    (ComponentInstance         ci,
  282.                                  DialogPtr                 dialog,
  283.                                  short                     itemOffset)                            FIVEWORDINLINE(0x2F3C, 0x0006, 0x0006, 0x7000, 0xA82A);
  284.  
  285. EXTERN_API( ComponentResult )
  286. AVPanelValidateInput            (ComponentInstance         ci,
  287.                                  Boolean *                ok)                                    FIVEWORDINLINE(0x2F3C, 0x0004, 0x0007, 0x7000, 0xA82A);
  288.  
  289. EXTERN_API( ComponentResult )
  290. AVPanelGetSettingsIdentifiers    (ComponentInstance         ci,
  291.                                  short *                theID,
  292.                                  OSType *                theType)                            FIVEWORDINLINE(0x2F3C, 0x0008, 0x0008, 0x7000, 0xA82A);
  293.  
  294. EXTERN_API( ComponentResult )
  295. AVPanelGetSettings                (ComponentInstance         ci,
  296.                                  Handle *                userDataHand,
  297.                                  long                     flags,
  298.                                  DialogPtr                 theDialog,
  299.                                  long                     itemsOffset)                        FIVEWORDINLINE(0x2F3C, 0x0010, 0x0009, 0x7000, 0xA82A);
  300.  
  301. EXTERN_API( ComponentResult )
  302. AVPanelSetSettings                (ComponentInstance         ci,
  303.                                  Handle                 userDataHand,
  304.                                  long                     flags,
  305.                                  DialogPtr                 theDialog,
  306.                                  long                     itemsOffset)                        FIVEWORDINLINE(0x2F3C, 0x0010, 0x000A, 0x7000, 0xA82A);
  307.  
  308. EXTERN_API( ComponentResult )
  309. AVPanelGetFidelity                (ComponentInstance         panelComponent,
  310.                                  DisplayIDType             displayID,
  311.                                  DMFidelityType *        panelFidelity)                        FIVEWORDINLINE(0x2F3C, 0x0008, 0x0100, 0x7000, 0xA82A);
  312.  
  313. EXTERN_API( ComponentResult )
  314. AVPanelComponentTargetDevice    (ComponentInstance         panelComponent,
  315.                                  DisplayIDType             displayID,
  316.                                  DialogPtr                 theDialog,
  317.                                  long                     itemsOffset)                        FIVEWORDINLINE(0x2F3C, 0x000C, 0x0101, 0x7000, 0xA82A);
  318.  
  319. EXTERN_API( ComponentResult )
  320. AVPanelComponentGetPanelClass    (ComponentInstance         panelComponent,
  321.                                  ResType *                panelClass,
  322.                                  ResType *                subClass,
  323.                                  Ptr                     reserved1,
  324.                                  Ptr                     reserved2)                            FIVEWORDINLINE(0x2F3C, 0x0010, 0x0102, 0x7000, 0xA82A);
  325.  
  326.  
  327. /* =============================                */
  328. /* Port Component Standard Component selectors    */
  329. /* =============================                */
  330. EXTERN_API( ComponentResult )
  331. AVPortGetAVDeviceFidelity        (ComponentInstance         portComponent,
  332.                                  AVIDType                 deviceAVID,
  333.                                  DMFidelityType *        portFidelity)                        FIVEWORDINLINE(0x2F3C, 0x0008, 0x0100, 0x7000, 0xA82A);
  334.  
  335. EXTERN_API( ComponentResult )
  336. AVPortGetWiggle                    (ComponentInstance         portComponent,
  337.                                  Boolean *                wiggleDevice)                        FIVEWORDINLINE(0x2F3C, 0x0004, 0x0101, 0x7000, 0xA82A);
  338.  
  339. EXTERN_API( ComponentResult )
  340. AVPortSetWiggle                    (ComponentInstance         portComponent,
  341.                                  Boolean                 wiggleDevice)                        FIVEWORDINLINE(0x2F3C, 0x0002, 0x0102, 0x7000, 0xA82A);
  342.  
  343. EXTERN_API( ComponentResult )
  344. AVPortGetName                    (ComponentInstance         portComponent,
  345.                                  Str255                 portName)                            FIVEWORDINLINE(0x2F3C, 0x0004, 0x0103, 0x7000, 0xA82A);
  346.  
  347. EXTERN_API( ComponentResult )
  348. AVPortGetGraphicInfo            (ComponentInstance         portComponent,
  349.                                  PicHandle *            thePict,
  350.                                  Handle *                theIconSuite,
  351.                                  AVLocationPtr             theLocation)                        FIVEWORDINLINE(0x2F3C, 0x000C, 0x0104, 0x7000, 0xA82A);
  352.  
  353. EXTERN_API( ComponentResult )
  354. AVPortSetActive                    (ComponentInstance         portComponent,
  355.                                  Boolean                 setActive)                            FIVEWORDINLINE(0x2F3C, 0x0002, 0x0105, 0x7000, 0xA82A);
  356.  
  357. EXTERN_API( ComponentResult )
  358. AVPortGetActive                    (ComponentInstance         portComponent,
  359.                                  Boolean *                isPortActive,
  360.                                  Boolean *                portCanBeActivated,
  361.                                  void *                    reserved)                            FIVEWORDINLINE(0x2F3C, 0x000C, 0x0106, 0x7000, 0xA82A);
  362.  
  363. EXTERN_API( ComponentResult )
  364. AVPortGetAVID                    (ComponentInstance         portComponent,
  365.                                  AVIDType *                avPortID)                            FIVEWORDINLINE(0x2F3C, 0x0004, 0x0108, 0x7000, 0xA82A);
  366.  
  367. EXTERN_API( ComponentResult )
  368. AVPortSetAVID                    (ComponentInstance         portComponent,
  369.                                  AVIDType                 avPortID)                            FIVEWORDINLINE(0x2F3C, 0x0004, 0x0109, 0x7000, 0xA82A);
  370.  
  371. EXTERN_API( ComponentResult )
  372. AVPortSetDeviceAVID                (ComponentInstance         portComponent,
  373.                                  AVIDType                 avDeviceID)                            FIVEWORDINLINE(0x2F3C, 0x0004, 0x010A, 0x7000, 0xA82A);
  374.  
  375. EXTERN_API( ComponentResult )
  376. AVPortGetDeviceAVID                (ComponentInstance         portComponent,
  377.                                  AVIDType *                avDeviceID)                            FIVEWORDINLINE(0x2F3C, 0x0004, 0x010B, 0x7000, 0xA82A);
  378.  
  379. EXTERN_API( ComponentResult )
  380. AVPortGetPowerState                (ComponentInstance         deviceComponent,
  381.                                  AVPowerStatePtr         getPowerState)                        FIVEWORDINLINE(0x2F3C, 0x0004, 0x010C, 0x7000, 0xA82A);
  382.  
  383. EXTERN_API( ComponentResult )
  384. AVPortSetPowerState                (ComponentInstance         deviceComponent,
  385.                                  AVPowerStatePtr         setPowerState)                        FIVEWORDINLINE(0x2F3C, 0x0004, 0x010D, 0x7000, 0xA82A);
  386.  
  387. EXTERN_API( ComponentResult )
  388. AVPortGetMakeAndModel            (ComponentInstance         displayComponent,
  389.                                  DisplayIDType             theDisplayID,
  390.                                  ResType *                manufacturer,
  391.                                  UInt32 *                model,
  392.                                  UInt32 *                serialNumber)                        FIVEWORDINLINE(0x2F3C, 0x0010, 0x010E, 0x7000, 0xA82A);
  393.  
  394.  
  395. /* =============================                */
  396. /* Video Out Port Component Selectors            */
  397. /* =============================                */
  398. EXTERN_API( ComponentResult )
  399. AVPortCheckTimingMode            (ComponentInstance         displayComponent,
  400.                                  DisplayIDType             theDisplayID,
  401.                                  VDDisplayConnectInfoPtr  connectInfo,
  402.                                  VDTimingInfoPtr         modeTiming,
  403.                                  UInt32                 reserved)                            FIVEWORDINLINE(0x2F3C, 0x0010, 0x0000, 0x7000, 0xA82A);
  404.  
  405. EXTERN_API( ComponentResult )
  406. AVPortGetDisplayTimingInfo        (ComponentInstance         displayComponent,
  407.                                  VDTimingInfoPtr         modeTiming,
  408.                                  UInt32                 requestedVersion,
  409.                                  DMDisplayTimingInfoPtr  modeInfo,
  410.                                  UInt32                 reserved)                            FIVEWORDINLINE(0x2F3C, 0x0010, 0x0200, 0x7000, 0xA82A);
  411.  
  412. /* =============================                */
  413. /* AV Device Component Selectors                */
  414. /* =============================                */
  415. EXTERN_API( ComponentResult )
  416. AVDeviceGetName                    (ComponentInstance         portComponent,
  417.                                  Str255                 portName)                            FIVEWORDINLINE(0x2F3C, 0x0004, 0x0100, 0x7000, 0xA82A);
  418.  
  419. EXTERN_API( ComponentResult )
  420. AVDeviceGetGraphicInfo            (ComponentInstance         portComponent,
  421.                                  PicHandle *            thePict,
  422.                                  Handle *                theIconSuite,
  423.                                  AVLocationPtr             theLocation)                        FIVEWORDINLINE(0x2F3C, 0x000C, 0x0101, 0x7000, 0xA82A);
  424.  
  425. EXTERN_API( ComponentResult )
  426. AVDeviceGetPowerState            (ComponentInstance         deviceComponent,
  427.                                  AVPowerStatePtr         getPowerState)                        FIVEWORDINLINE(0x2F3C, 0x0004, 0x0102, 0x7000, 0xA82A);
  428.  
  429. EXTERN_API( ComponentResult )
  430. AVDeviceSetPowerState            (ComponentInstance         deviceComponent,
  431.                                  AVPowerStatePtr         setPowerState)                        FIVEWORDINLINE(0x2F3C, 0x0004, 0x0103, 0x7000, 0xA82A);
  432.  
  433. EXTERN_API( ComponentResult )
  434. AVDeviceGetAVID                    (ComponentInstance         deviceComponent,
  435.                                  AVIDType *                avDeviceID)                            FIVEWORDINLINE(0x2F3C, 0x0004, 0x0104, 0x7000, 0xA82A);
  436.  
  437. EXTERN_API( ComponentResult )
  438. AVDeviceSetAVID                    (ComponentInstance         deviceComponent,
  439.                                  AVIDType                 avDeviceID)                            FIVEWORDINLINE(0x2F3C, 0x0004, 0x0105, 0x7000, 0xA82A);
  440.  
  441.  
  442.  
  443.  
  444. /* MixedMode ProcInfo constants for component calls */
  445. enum {
  446.     uppAVEngineComponentGetFidelityProcInfo            = 0x00000FF0,
  447.     uppAVEngineComponentTargetDeviceProcInfo        = 0x000003F0,
  448.     uppAVPanelFakeRegisterProcInfo                    = 0x000000F0,
  449.     uppAVPanelSetCustomDataProcInfo                    = 0x000003F0,
  450.     uppAVPanelGetDitlProcInfo                        = 0x000003F0,
  451.     uppAVPanelGetTitleProcInfo                        = 0x000003F0,
  452.     uppAVPanelInstallProcInfo                        = 0x00000BF0,
  453.     uppAVPanelEventProcInfo                            = 0x0003FBF0,
  454.     uppAVPanelItemProcInfo                            = 0x00002BF0,
  455.     uppAVPanelRemoveProcInfo                        = 0x00000BF0,
  456.     uppAVPanelValidateInputProcInfo                    = 0x000003F0,
  457.     uppAVPanelGetSettingsIdentifiersProcInfo        = 0x00000FF0,
  458.     uppAVPanelGetSettingsProcInfo                    = 0x0000FFF0,
  459.     uppAVPanelSetSettingsProcInfo                    = 0x0000FFF0,
  460.     uppAVPanelGetFidelityProcInfo                    = 0x00000FF0,
  461.     uppAVPanelComponentTargetDeviceProcInfo            = 0x00003FF0,
  462.     uppAVPanelComponentGetPanelClassProcInfo        = 0x0000FFF0,
  463.     uppAVPortGetAVDeviceFidelityProcInfo            = 0x00000FF0,
  464.     uppAVPortGetWiggleProcInfo                        = 0x000003F0,
  465.     uppAVPortSetWiggleProcInfo                        = 0x000001F0,
  466.     uppAVPortGetNameProcInfo                        = 0x000003F0,
  467.     uppAVPortGetGraphicInfoProcInfo                    = 0x00003FF0,
  468.     uppAVPortSetActiveProcInfo                        = 0x000001F0,
  469.     uppAVPortGetActiveProcInfo                        = 0x00003FF0,
  470.     uppAVPortGetAVIDProcInfo                        = 0x000003F0,
  471.     uppAVPortSetAVIDProcInfo                        = 0x000003F0,
  472.     uppAVPortSetDeviceAVIDProcInfo                    = 0x000003F0,
  473.     uppAVPortGetDeviceAVIDProcInfo                    = 0x000003F0,
  474.     uppAVPortGetPowerStateProcInfo                    = 0x000003F0,
  475.     uppAVPortSetPowerStateProcInfo                    = 0x000003F0,
  476.     uppAVPortGetMakeAndModelProcInfo                = 0x0000FFF0,
  477.     uppAVPortCheckTimingModeProcInfo                = 0x0000FFF0,
  478.     uppAVPortGetDisplayTimingInfoProcInfo            = 0x0000FFF0,
  479.     uppAVDeviceGetNameProcInfo                        = 0x000003F0,
  480.     uppAVDeviceGetGraphicInfoProcInfo                = 0x00003FF0,
  481.     uppAVDeviceGetPowerStateProcInfo                = 0x000003F0,
  482.     uppAVDeviceSetPowerStateProcInfo                = 0x000003F0,
  483.     uppAVDeviceGetAVIDProcInfo                        = 0x000003F0,
  484.     uppAVDeviceSetAVIDProcInfo                        = 0x000003F0
  485. };
  486.  
  487.  
  488. #if PRAGMA_STRUCT_ALIGN
  489.     #pragma options align=reset
  490. #elif PRAGMA_STRUCT_PACKPUSH
  491.     #pragma pack(pop)
  492. #elif PRAGMA_STRUCT_PACK
  493.     #pragma pack()
  494. #endif
  495.  
  496. #ifdef PRAGMA_IMPORT_OFF
  497. #pragma import off
  498. #elif PRAGMA_IMPORT
  499. #pragma import reset
  500. #endif
  501.  
  502. #ifdef __cplusplus
  503. }
  504. #endif
  505.  
  506. #endif /* __AVCOMPONENTS__ */
  507.  
  508.